//
//  MFCycleImage.h
//  CollectionView轮播图-封装
//
//  Created by mafeng on 16/8/4.
//  Copyright © 2016年 mafeng. All rights reserved.
//

#import <UIKit/UIKit.h>

// 为了方便使用, 将两个类放在一起
@interface MFCycleImageCell : UICollectionViewCell
@property (nonatomic, strong) UIImageView *cycleImage;
@property (nonatomic, strong) UILabel *label;
@end

@protocol MFCycleImageDelegate <NSObject>

- (void)didSelect;
- (void)handleDataWithObject:(id)objc cell:(__kindof UICollectionViewCell *)cell;
@end




@interface MFCycleImage : UIView

@property (readonly, nonatomic, strong) UIPageControl *page;
@property (readonly, nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, strong) NSArray *array;
@property (nonatomic, weak) id<MFCycleImageDelegate> delegate;
@end


